package neu.soft.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import neu.soft.constant.TaskOrderStatus;
import neu.soft.constant.TaskOrderType;

import java.util.Date;

/**
 * 配送任务单
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DistributionTaskOrder {
    private String distributionTaskOrderId;//配送任务单号

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date overTime;

    private TaskOrderType taskType;//任务类型
    private TaskOrderStatus taskState;//任务状态
    private String postmanId;//快递员id
    private String address;//投递地址
    private String customerName;//客户名字
    private String orderId;//订单号
    private String addressId;//投递地址ID，用于和快递员地址匹配
    private String tele;//联系电话

    private int isReceipt;//用于标注是否被回执录入

    private String notes;//用户备注
    private int rate;//用户满意度
    private int warehouseId;//分站ID



}
